fox guarding (the) henhouse

Translations
le loup chargé de garder le poulailler
Definitions
A situation in which someone is put in charge of something but has a conflict of interest or is likely to exploit the position for their own benefit, similar to putting a fox in charge of guarding hens, which it would normally prey upon.